package com.atguigu.yygh.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created with IntelliJ IDEA
 *
 * @Date: 2022/12/27 - 10:30
 * @Author: Hyoung
 * @Description:
 */


@SpringBootApplication
//@EnableDiscoveryClient
@ComponentScan("com.atguigu.yygh")
@EnableFeignClients("com.atguigu.yygh")
@MapperScan("com.atguigu.yygh.user.mapper")
public class ServiceUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceUserApplication.class, args);
    }
}